why doesn't setInterval get called until loop is over

visit shbcf.ru